home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1993
/
MacHack 1993.toast
/
MacHack™ 1987-1992
/
MacHack™ '92
/
Hacks ’92
/
NotificationMon ƒ
/
NotificationMon.ƒ
/
Source
/
main.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-06-22
|
397 b
|
24 lines
|
[
TEXT/KAHL
]
#include "Event.h"
#include "NotificationMon.h"
notificationDoc *MainView;
main(void)
{
InitToolBox(4); /* Std witch chant + 4 calls to MoreMasters */
UnloadSeg(&InitToolBox);
BuildMenuBars();
InitAppleEvents();
MainView = NewNotificationDoc(128);
RegisterNotificationMonitor();
while(!Done)
MainEvent();
UpdateNotificationPrefs(MainView);
UnregisterNotificationMonitor();
}